package com.ddyx.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 设备事件对象
 * @author zhongchzh
 *
 */
public class DeviceEventData {
	
	/** 设备编号 **/
	private String deviceNo;

	/** 抓怕时间 **/
	private Date capturedTime;
	
	/** 接收时间 **/
	private Date receivedTime;
	
	/** 原始图数据 **/
	private byte[] originalImageData;
	
	/** 原始图Url **/
	private String originalImageUrl;
	
	/**脸图信息**/
	private List<FaceImageInfo> faceImages;
	
	public DeviceEventData() {
		faceImages = new ArrayList<FaceImageInfo>(5);
	}

	public String getDeviceNo() {
		return deviceNo;
	}

	public void setDeviceNo(String deviceNo) {
		this.deviceNo = deviceNo;
	}

	public Date getCapturedTime() {
		return capturedTime;
	}

	public void setCapturedTime(Date capturedTime) {
		this.capturedTime = capturedTime;
	}

	public Date getReceivedTime() {
		return receivedTime;
	}

	public void setReceivedTime(Date receivedTime) {
		this.receivedTime = receivedTime;
	}

	public byte[] getOriginalImageData() {
		return originalImageData;
	}

	public void setOriginalImageData(byte[] originalImageData) {
		this.originalImageData = originalImageData;
	}

	public String getOriginalImageUrl() {
		return originalImageUrl;
	}

	public void setOriginalImageUrl(String originalImageUrl) {
		this.originalImageUrl = originalImageUrl;
	}

	public List<FaceImageInfo> getFaceImages() {
		return faceImages;
	}

	public void setFaceImages(List<FaceImageInfo> faceImages) {
		this.faceImages = faceImages;
	}

	@Override
	public String toString() {
		return "DeviceEventData [deviceNo=" + deviceNo + ", capturedTime=" + capturedTime + ", receivedTime="
				+ receivedTime + ", originalImageUrl=" + originalImageUrl + "]";
	}
}
